From: Gabriel Wicke Date: Wed, 24 Mar 2004 17:18:35 +0000 (+0000) Subject: * specialpage message X-Git-Tag: 1.3.0beta1~702 X-Git-Url: http://git.cyclocoop.org/%22.%24info%5B?a=commitdiff_plain;h=76450900205c80746e035f12185628d6886a1923;p=lhc%2Fweb%2Fwiklou.git * specialpage message * charset --- diff --git a/includes/SkinPHPTal.php b/includes/SkinPHPTal.php index f2797e832f..9494fede14 100644 --- a/includes/SkinPHPTal.php +++ b/includes/SkinPHPTal.php @@ -38,7 +38,7 @@ function outputPage( &$out ) { global $wgTitle, $wgArticle, $wgUser, $wgLang, $wgOut; global $wgScriptPath, $wgStyleSheetPath, $wgLanguageCode, $wgUseNewInterlanguage; - global $wgUseDatabaseMessages, $action; + global $wgOutputEncoding, $wgUseDatabaseMessages, $action; $this->initPage(); $tpl = new PHPTAL($this->skinname . '.pt', 'templates'); @@ -52,6 +52,7 @@ $thispage = $wgTitle->getPrefixedDbKey(); $tpl->setRef( "thispage", &$thispage ); $tpl->set( "subtitle", $out->getSubtitle() ); + $tpl->setRef( 'charset', $wgOutputEncoding); $loggedin = $wgUser->getID() != 0; $tpl->setRef( "loggedin", &$loggedin ); @@ -253,9 +254,9 @@ /* show special page actions */ $content_actions['article'] = array('class' => 'selected', - 'text' => 'Special Page', + 'text' => wfMsg('specialpage'), 'href' => 'javascript:void()', - 'ttip' => wfMsg('tooltip-special'), + 'ttip' => wfMsg('tooltip-specialpage'), 'akey' => ''); /*if ($wgTitle->getDbKey() == 'Movepage') {